package com.example.wastewater.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.wastewater.dao.entity.WastewaterDO;
import org.apache.ibatis.annotations.Select;

public interface WastewaterMapper extends BaseMapper<WastewaterDO> {
    @Select("SELECT * FROM tb_water_data ORDER BY RAND() LIMIT 1")
    WastewaterDO selectRandomData();
}
